export type RawPostWithUser = {
    postId: number;
    title: string;
    content: string;
    postCreatedAt: Date;
    postUpdatedAt: Date;
    authorId: number;
    userId: number;
    username: string;
    email: string;
    userCreatedAt: Date;
}


export type FormattedPostWithUser = {
    id: number;
    title: string;
    content: string | null;
    createdAt: Date;
    author: {
        id: number;
        username: string;
        email: string;
        createdAt: Date;
    };
}